import request from '@/utils/request'

/**获取列表 */
export function getList(query) {
    return request({
        url: '/app/order/list',
        method: 'get',
        params: query
    })
}
/**查询信息详情 */
export function getInformation(query) {
    return request({
        url: '/app/zx/article/get/' + query,
        method: 'get'
    })
}
/**订单统计 */
export function getListNumb(query) {
    return request({
        url: '/app/order/listStat',
        method: 'get',
        params: query
    })
}
/**获取信息 */
export function getUserByPhone(query) {
    return request({
        url: '/system/user/getUserByPhone/' + query,
        method: 'get'
    })
}
/**取消订单 */
export function getCancel(data) {
    return request({
      url: '/app/order/cancel',
      method: 'post',
      data: data
    })
}
